# Dockerfile for apollo-portal
# Build with:
# docker build -t apollo-portal .
# Run with:
# docker run -p 9090:8080 -d --name apollo-portal apollo-portal

FROM java:8-jre
MAINTAINER LiuWei

ENV VERSION 0.11.0

ADD apollo-portal-${VERSION}.jar /apollo-portal/apollo-portal-${VERSION}.jar

ENTRYPOINT ["sh", "-c", "java ${JAVA_OPTS} -jar /apollo-portal/apollo-portal-${VERSION}.jar"]